<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../include/base.jsp"%>
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=GBK" />
<title>CRM</title>
<link rel="stylesheet" href="${basePath }/css/screen.css"
	type="text/css" media="screen, projection">
<!--[if IE]>
	  <link rel="stylesheet" href="css/ie.css" type="text/css" media="screen, projection">
	<![endif]-->
<link rel="stylesheet" href="${basePath }/css/style.css" type="text/css"
	media="screen, projection">

<link rel="stylesheet" type="text/css"
	href="${basePath }/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css"
	href="${basePath }/js/code/prettify.css">
<script type="text/javascript" src="${basePath }/js/jquery.js"></script>
<script type="text/javascript" src="${basePath }/js/bootstrap.min.js"></script>
<script type="text/javascript" src="${basePath }/js/code/prettify.js"></script>
</head>
<body>
	<div id="header">
		<div class="centerwapper">
			<img src="${basePath }/img/logo.png" alt="凯盛CRM系统" />
			<div class="userinfo">
				<a href="#">账号设置</a> <a href="#">安全退出</a>
			</div>
		</div>
	</div>
	<div class="main">
		<div id="innerwapper">
			<div id="nav">
				<ul>
					<li class="activity"><a href="${basePath }/user/login">最新动态</a>
					</li>
					<li class="contacts-select"><a
						href="${basePath }/contact/list">联系人</a>
					</li>
					<li class="task"><a href="${basePath }/task/list">日程安排</a>
					</li>
					<li class="deals"><a href="${basePath }/deal/list">交易</a>
					</li>
					<li class="cases"><a href="">事件</a>
					</li>
					<li class="search"><a href="">搜索</a>
					</li>
				</ul>
			</div>
			<div id="pager">
				<!--
					当没有边栏(pageside)的时候，使用pageall样式
				-->
				<div class="pageall">
					<div class="pagerhader">
						<ul class="nav nav-tabs">
							<li class="active"><a href="#">添加联系人</a>
							</li>
							<li><a href="${basePath }/contact/newCompany">添加公司</a></li>
						</ul>
					</div>
					<div class="pagecontent" style="padding:0px">
						<form action="${basePath }/contact/saveContact.action"
							method="post">
							<div class="reqiredtable">
								<table>
									<tr>
										<td class="name_column">姓名</td>
										<td><input type="text" name="contact.name" class="text"
											size="30" />
										</td>
									</tr>
									<tr>
										<td class="name_column">公司</td>
										<td><input type="text" />
										</td>
									</tr>
								</table>
							</div>
							<div class="othertable">
								<table>
									<tr>
										<td class="name_column">电话</td>
										<td><input type="text" class="text" size="30" />
										</td>
									</tr>
									<tr>
										<td class="name_column">邮箱</td>
										<td><input type="text" />
										</td>
									</tr>
									<tr>
										<td class="name_column">IM</td>
										<td><input type="text" />
										</td>
									</tr>
									<tr>
										<td class="name_column">网站</td>
										<td><input type="text" />
										</td>
									</tr>
									<tr>
										<td class="name_column">地址</td>
										<td><input type="text" name="contact.address" />
										</td>
									</tr>
								</table>
							</div>
							<div class="otherformelement">
								<div class="element_one">
									<strong>背景信息(简介，如何认识的等)</strong>
									<textarea name=""></textarea>
								</div>
								<div class="element_one">
									<strong>谁可以看见这个联系人</strong> <input type="radio" name="contact.view"
										value="all" />所有人<br /> <input type="radio" name="contact.view"
										value="onlyme" />只有我能看见<br /> <input type="radio" name="contact.view" />选择一个组...<br />
									<input type="radio" name="contact.view" />选择用户...<br />
								</div>
								<div class="element_one">
									<input type="submit" value="保存这个联系人" /> 或者 <input
										type="button" value="保存并添加这个联系人" /> 或者 <a href="#">取消</a>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
			<div class="clear"></div>
		</div>
	</div>
</body>
</html>
